package com.coldchain.cys.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author tianpeng
 * @since 2018-09-25
 */
@TableName("t_accident_type")
public class AccidentType implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 事故类型
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 事故类型名称
     */
    private String name;

    /**
     * 创建时间
     */
    private Date createtime;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	@Override
    public String toString() {
        return "AccidentType{" +
        "id=" + id +
        ", name=" + name +
        ", createtime=" + createtime +
        "}";
    }
}
